//
//  AppDelegate.m
//  DriftDog
//
//  Created by rimi on 15/9/6.
//  Copyright (c) 2015年 廖马林. All rights reserved.
//

#import "AppDelegate.h"
#import "TabControllersManager.h"
#import "LMLTabViewController.h"
#import "LoginViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    
    [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;

    _window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    _window.backgroundColor = [UIColor whiteColor];
    
    LMLTabViewController *lmlTab_vc = [TabControllersManager sharedManager].mainTabController;
    
    UINavigationController *root_vc = [[UINavigationController alloc] initWithRootViewController:lmlTab_vc];
    root_vc.navigationBarHidden = YES;
    
    _window.rootViewController = root_vc;
    
//    LoginViewController *log = [[LoginViewController alloc] init];
//    _window.rootViewController = log;
    
    
    [_window makeKeyAndVisible];
    
    
    return YES;
}


@end
